home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / table size < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     table size
  2. Sent:        3/29/96 11:56 AM
  3. Received:    3/29/96 11:01 AM
  4. From:        Brian Hess, sasrbh@unx.sas.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8.  
  9. I'm working on a part that goes out to our native data sets
  10. and presents the data in tabular format.  The data sets that
  11. I read can have millions of observations.  The problem comes
  12. in in my frame's AdjustSubViews method.  I get the content 
  13. view and then need to call the view's SetExtent method to
  14. indicate the size of the table.  The extent size takes a
  15. FW_CPoint to indicate maximum width and height of the table, and
  16. the point uses FW_CFixed to hold each value.  I believe that
  17. the maximum value a FW_CFixed value can hold is the maximum
  18. size representable by a signed short (32767).  So how do I 
  19. indicate a table much larger than this?  I assume if I have
  20. a 3 million oberservation table, and each row is 18 pixels
  21. high, I would need to indicate a value of 54 million.  How
  22. do I set the extent of the table?
  23.  
  24. Thanks,
  25. Brian Hess
  26. SAS Institute Inc.
  27.